package com.luoyuanxiangvip.admin.core.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author luoyuanxiang <p>luoyuanxiangvip.com</p>
 * @since 2019/5/27 10:19
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "JwtVo对象", description = "返回token")
public class JwtVo implements Serializable {

    private static final long serialVersionUID = -1299095840932717137L;
    @ApiModelProperty(value = "请求token")
    private String accessToken;

    @ApiModelProperty(value = "请求token的过期时间 单位：秒")
    private long accessExpiration;

    @ApiModelProperty(value = "创建时间 单位：秒")
    private long createTime;
}
